<?php defined('IN_SYS') or die ('Direct Access to this location is not allowed.'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-store, must-revalidate, no-cache, private, max-age=0, post-check=0, pre-check=0" />
<meta http-equiv="Expires" content="Sun, 1 Jan 2006 01:00:00 GMT" />
<meta http-equiv="X-Ua-Compatible" content="IE=7" />
<meta name="robots" content="noarchive,noindex,nofollow" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Dashboard &#8212; Movoin Studio</title>
<link rel="stylesheet" type="text/css" href="css/theme.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script type="text/javascript">
    var Cookies = document.cookie;
    if(Cookies!='') {
        var StyleFile = "theme" + Cookies.charAt(6) + ".css";
        document.writeln('<link rel="stylesheet" type="text/css" href="css/' + StyleFile + '">');
    }
</script>
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="css/ie-sucks.css" />
<![endif]-->
</head>
<body>
    <div id="container">
        <div id="header">
            <h2>Movoin Studio</h2>
            <div id="topmenu">
                <ul>
                    <li<?php if($current=='' || $current=='dashboard'):?> class="current"<?php endif;?>><a href="admin.php?ctl=dashboard">Dashboard</a></li>
                    <li<?php if($current=='posts'):?> class="current"<?php endif;?>><a href="admin.php?ctl=posts">Posts</a></li>
                    <li<?php if($current=='media'):?> class="current"<?php endif;?>><a href="admin.php?ctl=media">Media</a></li>
                    <li<?php if($current=='comments'):?> class="current"<?php endif;?>><a href="admin.php?ctl=comments">Comments</a></li>
                    <li<?php if($current=='links'):?> class="current"<?php endif;?>><a href="admin.php?ctl=links">Links</a></li>
                    <li<?php if($current=='tools'):?> class="current"<?php endif;?>><a href="admin.php?ctl=tools">Tools</a></li>
                    <li<?php if($current=='settings'):?> class="current"<?php endif;?>><a href="admin.php?ctl=settings">Settings</a></li>
              </ul>
          </div>
      </div>
      <div id="top-panel">
            <div id="panel">
                <ul>
                    <li><a href="../" class="online" target="_blank">Browse Blog</a></li>
                    <li><a href="https://www.google.com/analytics/home/?hl=zh-CN" class="promotions">Analytics</a></li>
                    <li><a href="admin.php?ctl=search" class="search">Search</a></li>
                </ul>
            </div>
      </div>